package com.borya.model.db;

import org.apache.commons.lang3.StringUtils;

/**
 * 商户激活申请的订单信息tb_regist_audit
 * @author borya
 *
 */
public class RegistOrderInfo {
	private int id;
	private String orderId;
	private String requestPhone;
	private String userId;
	private String companyName;
	private String address;
	private int merchantType;
	private String signPicture;
	private String doorPictureLeft;
	private String doorPictureRight;
	private String handPicture;
	private String businessLicence;
	private String devMac;
	private String superInviteCode;
	private String signMergePicture;
	private String devMacAddress;
	private String popchannel;
	private String superDealerId;
	private String popchannelName;
	private String superDealerName;
	private int merchantAttribute;
	private String discountModel;
	private String phoneModel;
	private String transferModel;
	private String userName;
	private String alipayUserId;
	private String weixinUserId;
	private String cityCode;
	private String cityName;
	private int beforeStatus;
	private String remarks;
	private int result;
	private long createTime;
	private int orderStatus;
	private long auditTime;
	private String customer;
	private int merchantStatus;
	private String period;
	private int auditType;
	private String autoAuditDesc;
	private String dealerId;
	private String gztCheck;
	private int sourceType;
	private String storeAddress;
	
	
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public String getRequestPhone() {
		return requestPhone;
	}
	public void setRequestPhone(String requestPhone) {
		this.requestPhone = requestPhone;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getMerchantType() {
		return merchantType;
	}
	public void setMerchantType(int merchantType) {
		this.merchantType = merchantType;
	}
	public String getSignPicture() {
		return signPicture;
	}
	public void setSignPicture(String signPicture) {
		this.signPicture = signPicture;
	}
	public String getDoorPictureLeft() {
		return doorPictureLeft;
	}
	public void setDoorPictureLeft(String doorPictureLeft) {
		this.doorPictureLeft = doorPictureLeft;
	}
	public String getDoorPictureRight() {
		return doorPictureRight;
	}
	public void setDoorPictureRight(String doorPictureRight) {
		this.doorPictureRight = doorPictureRight;
	}
	public String getHandPicture() {
		return handPicture;
	}
	public void setHandPicture(String handPicture) {
		this.handPicture = handPicture;
	}
	public String getBusinessLicence() {
		return businessLicence;
	}
	public void setBusinessLicence(String businessLicence) {
		this.businessLicence = businessLicence;
	}
	public String getDevMac() {
		return devMac;
	}
	public void setDevMac(String devMac) {
		this.devMac = devMac;
	}
	public String getSuperInviteCode() {
		return superInviteCode;
	}
	public void setSuperInviteCode(String superInviteCode) {
		this.superInviteCode = superInviteCode;
	}
	public String getSignMergePicture() {
		return signMergePicture;
	}
	public void setSignMergePicture(String signMergePicture) {
		this.signMergePicture = signMergePicture;
	}
	public String getDevMacAddress() {
		return devMacAddress;
	}
	public void setDevMacAddress(String devMacAddress) {
		this.devMacAddress = devMacAddress;
	}
	public String getPopchannel() {
		return popchannel;
	}
	public void setPopchannel(String popchannel) {
		this.popchannel = popchannel;
	}
	public String getSuperDealerId() {
		return superDealerId;
	}
	public void setSuperDealerId(String superDealerId) {
		this.superDealerId = superDealerId;
	}
	public String getPopchannelName() {
		return popchannelName;
	}
	public void setPopchannelName(String popchannelName) {
		this.popchannelName = popchannelName;
	}
	public String getSuperDealerName() {
		return superDealerName;
	}
	public void setSuperDealerName(String superDealerName) {
		this.superDealerName = superDealerName;
	}
	public int getMerchantAttribute() {
		return merchantAttribute;
	}
	public void setMerchantAttribute(int merchantAttribute) {
		this.merchantAttribute = merchantAttribute;
	}
	public String getDiscountModel() {
		return discountModel;
	}
	public void setDiscountModel(String discountModel) {
		this.discountModel = discountModel;
	}
	public String getPhoneModel() {
		return phoneModel;
	}
	public void setPhoneModel(String phoneModel) {
		this.phoneModel = phoneModel;
	}
	public String getTransferModel() {
		return transferModel;
	}
	public void setTransferModel(String transferModel) {
		this.transferModel = transferModel;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getAlipayUserId() {
		return alipayUserId;
	}
	public void setAlipayUserId(String alipayUserId) {
		this.alipayUserId = alipayUserId;
	}
	public String getWeixinUserId() {
		return weixinUserId;
	}
	public void setWeixinUserId(String weixinUserId) {
		this.weixinUserId = weixinUserId;
	}
	public String getCityCode() {
		return cityCode;
	}
	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public int getBeforeStatus() {
		return beforeStatus;
	}
	public void setBeforeStatus(int beforeStatus) {
		this.beforeStatus = beforeStatus;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public int getResult() {
		return result;
	}
	public void setResult(int result) {
		this.result = result;
	}
	public long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
	public int getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}
	public long getAuditTime() {
		return auditTime;
	}
	public void setAuditTime(long auditTime) {
		this.auditTime = auditTime;
	}
	public String getCustomer() {
		return customer;
	}
	public void setCustomer(String customer) {
		this.customer = customer;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getMerchantStatus() {
		return merchantStatus;
	}
	public void setMerchantStatus(int merchantStatus) {
		this.merchantStatus = merchantStatus;
	}
	public String getAutoAuditDesc() {
		return autoAuditDesc;
	}
	public void setAutoAuditDesc(String autoAuditDesc) {
		this.autoAuditDesc = autoAuditDesc;
	}
	public int getAuditType() {
		return auditType;
	}
	public void setAuditType(int auditType) {
		this.auditType = auditType;
	}
	public String getDealerId() {
		return dealerId;
	}
	public void setDealerId(String dealerId) {
		this.dealerId = dealerId;
	}
	public String getGztCheck() {
		return gztCheck;
	}
	public String getPeriod() {
		return period;
	}
	public void setPeriod(String period) {
		this.period = period;
	}
	public int getSourceType() {
		return sourceType;
	}
	public void setSourceType(int sourceType) {
		this.sourceType = sourceType;
	}
	public String getStoreAddress() {
		return storeAddress;
	}
	public void setStoreAddress(String storeAddress) {
		this.storeAddress = storeAddress;
	}
	public void setGztCheck(String gztCheck) {
		if(StringUtils.isBlank(gztCheck))
			this.gztCheck = "未校验";
		else if("1".equals(gztCheck))
			this.gztCheck = "成功";
		else if("2".equals(gztCheck))
			this.gztCheck = "失败";
		else
			this.gztCheck = "无法校验（请求超时等原因导致）";
	}

	public String toString() {
		return "[id=" + id + ", orderId=" + orderId
				+ ", requestPhone=" + requestPhone + ", userId=" + userId
				+ ", companyName=" + companyName + ", address=" + address
				+ ", merchantType=" + merchantType + ", signPicture="
				+ signPicture + ", doorPictureLeft=" + doorPictureLeft
				+ ", doorPictureRight=" + doorPictureRight + ", handPicture="
				+ handPicture + ", businessLicence=" + businessLicence
				+ ", devMac=" + devMac + ", superInviteCode=" + superInviteCode
				+ ", signMergePicture=" + signMergePicture + ", devMacAddress="
				+ devMacAddress + ", popchannel=" + popchannel
				+ ", superDealerId=" + superDealerId + ", popchannelName="
				+ popchannelName + ", superDealerName=" + superDealerName
				+ ", merchantAttribute=" + merchantAttribute
				+ ", discountModel=" + discountModel + ", phoneModel="
				+ phoneModel + ", transferModel=" + transferModel
				+ ", userName=" + userName + ", alipayUserId=" + alipayUserId
				+ ", weixinUserId=" + weixinUserId + ", cityCode=" + cityCode
				+ ", cityName=" + cityName + ", beforeStatus=" + beforeStatus
				+ ", remarks=" + remarks + ", result=" + result
				+ ", createTime=" + createTime + ", orderStatus=" + orderStatus
				+ ", auditTime=" + auditTime + ", customer=" + customer
				+ ", merchantStatus=" + merchantStatus + ", period=" + period
				+ ", auditType=" + auditType + ", autoAuditDesc="
				+ autoAuditDesc + ", dealerId=" + dealerId + ", gztCheck="
				+ gztCheck + "]";
	}
	
}